<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String url = request.getScheme() + "://" + request.getServerName()
			+ request.getRequestURI();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>" />
		<title>通用查询</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

		<%@ include file="/html/custom/header.jsp"%>

		<link type="text/css" href="<%=basePath%>/html/css/gm/asset.css"
			rel="stylesheet" />
		<style>
#content{width: 712px; 
min-width: 0;
}
.ast {
	margin-top: 0;
	width: 100%;
}

.ast-form {
	border: 0;
	background: none;
}

.ast-foot {
	margin-top: 10px;
}
.ast-form .panel{width: 335px; padding-left: 20px;}
input.date,input.money{width: 94px;}
.between{padding:0 5px 0 20px;}
.ast-form table td{padding-left: 10px;}
</style>
		<script type="text/javascript"
			src="<%=basePath%>html/js/swss.search.custom.js"></script>
	</head>
	<body>
		<div id="content">
			<div class="ast">
				<form id="astForm"
					action="<s:property value="#request.searchURL" />" method="post"
					enctype="multipart/form-data"  <s:if test="#request.searchType==0">target="res"</s:if><s:else>target="_parent"</s:else> >
					<div class="ast-form">
						<div class="clearfix">
							<div class="panel left">
								<table>
									<tr>
										<td>
											资产编号
										</td>
										<td>
											<input id="astNo" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.astNo" />
										</td>
									</tr>
									<tr>
										<td>
											国标类号
										</td>
										<td>
											<!-- <input id="gbCode" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.gbClassNo" /> -->
                                             <input id="gbClassNo" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.gbClassNo" />
										</td>
									</tr>
									<tr>
										<td>
											设备名称
										</td>
										<td>
											<!--  <input id="txtAstName" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.astName" />-->
											<input id="astName" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.astName" />
										</td>
									</tr>

									<tr>
										<td>
											单 价
										</td>
										<td>
											<input  type="text"
												class="ui-widget-content ui-corner-all txt money"
												name="astRange.priceStart"  /><span class="between" >至</span>
											<input type="text"
												class="ui-widget-content ui-corner-all txt money"
												name="astRange.priceEnd"  />
										</td>
									</tr>
									<tr>
										<td>
											购置日期
										</td>
										<td>
											<input type="text" 
												class="ui-widget-content ui-corner-all txt date"
												name="astRange.buyDateStart" /><span class="between" >至</span>
											<input type="text" 
												class="ui-widget-content ui-corner-all txt date"
												name="astRange.buyDateEnd" />
										</td>
									</tr>
									<tr>
										<td>
											变动日期
										</td>
										<td>
											<input type="text" id="changeDate"
												class="ui-widget-content ui-corner-all txt date"
												name="astRange.changeDateStart" /><span class="between" >至</span>
											<input type="text" id="recordDate"
												class="ui-widget-content ui-corner-all txt date"
												name="astRange.changeDateEnd" />
										</td>
									</tr>
									<tr>
										<td>
											入账时间
										</td>
										<td>
											<input type="text" id="recordDate"
												class="ui-widget-content ui-corner-all txt date"
												name="astRange.recordDateStart" /><span class="between" >至</span>
											<input type="text" id="recordDate"
												class="ui-widget-content ui-corner-all txt date"
												name="astRange.recordDateEnd" />
										</td>
									</tr>
									<tr>
										<td>
											品 牌
										</td>
										<td>
											<input id="brand" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.brand" />
										</td>
									</tr>

									<tr>
										<td>
											型号规格
										</td>
										<td>
											<input id="modelNo" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.modelNo" />
										</td>
									</tr>
                                  <tr>
										<td>
											领 用 人
										</td>
										<td>
											<input id="collarName" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.collarName" />
										</td>
									</tr>
									<!--<tr>
										<td>
											厂  家
										</td>
										<td>
											<input id="factoryName" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.factoryName" />
										</td>
									</tr>  -->
								</table>
							</div>
							<div class="panel right">
								<table>
									<tr>
										<td>
											单位名称
										</td>
										<td>
											<input id="deptName" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.deptNo" />
										</td>
									</tr>
									<tr>
										<td>
											单 据 号
										</td>
										<td>
											<!--  <input id="txtAstName" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.astName" />-->
											<input id="danJuNo" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.danJuNo" />
										</td>
									</tr>
									<tr>
										<td>
											变单据号
										</td>
										<td>
											<!--  <input id="txtAstName" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.astName" />-->
											<input id="chagedanJuNo" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.chagedanJuNo" />
										</td>
									</tr>
									<tr>
										<td>
											财务凭单
										</td>
										<td>
											<input id="finVoucher" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.finVoucher" />
										</td>
									</tr>
									<tr>
										<td>
											编号范围
										</td>
										<td>
											<input id="astNoRange" type="text"
												class="ui-widget-content ui-corner-all txt"
												name="changeAsset.astNoRange" />
										</td>
									</tr>
									<tr>
										<td>
											存放地点
										</td>
										<td>
											<!--<input id="txtStorage" type="text"
												class="ui-widget-content ui-corner-all txt" />
											 <input id="txtCfddNo" type="hidden" name="changeAsset.cfddNo" value="" />
											<input id="txtCfddName" type="hidden" name="changeAsset.cfddName" value="" />
											-->
											<input id="cfddName" type="text" name="changeAsset.cfddName"
												class="ui-widget-content ui-corner-all txt" />
										</td>
									</tr>
									<tr>
										<td>
											资产类别
										</td>
										<td>
											<select name="changeAsset.astClass">
												<option value="">
													不分
												</option>
												<option>一般设备</option>
											</select>
										</td>
									</tr>
									<tr>
										<td>
											现 状
										</td>
										<td>
											<select name="changeAsset.xz">
												<option value="">
													不分
												</option>
												<s:iterator value="#request.nowStatusList">
													<option value="<s:property value="fieldName4" />">
														<s:property value="txt" />
													</option>
												</s:iterator>
											</select>
										</td>
									</tr>
									
									<tr>
										<td>
											使用方向
										</td>
										<td>
											<select name="changeAsset.syfx">
												<option value="">
													不分
												</option>
												<s:iterator value="#request.useDirList">
													<option value="<s:property value="fieldName4" />">
														<s:property value="txt" />
													</option>
												</s:iterator>
											</select>
										</td>
									</tr>
									
									<tr>
										<td>
											设备来源
										</td>
										<td>
											<select name="changeAsset.zcly">
												<option value="">
													不分
												</option>
												<s:iterator value="#request.astSourceList">
													<option value="<s:property value="fieldName4" />">
														<s:property value="txt" />
													</option>
												</s:iterator>
											</select>
										</td>
									</tr>
								</table>

							</div>
						</div>

						<div class="ast-foot">
							<input class="btnAst" type="submit" value="查找" />
							<input class="btnAst" type="reset" value="清空" />
						</div>
					</div>

				</form>
			</div>
		</div>
		<%@ include file="/html/custom/footer.jsp"%>
	</body>
</html>
